projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
84d6029
)
(set-rmail-inbox-list): Error if not in Rmail mode.
author
Richard M. Stallman
<rms@gnu.org>
Sat, 8 Aug 1998 21:48:45 +0000
(21:48 +0000)
committer
Richard M. Stallman
<rms@gnu.org>
Sat, 8 Aug 1998 21:48:45 +0000
(21:48 +0000)
lisp/mail/rmailmsc.el
patch
|
blob
|
history
diff --git
a/lisp/mail/rmailmsc.el
b/lisp/mail/rmailmsc.el
index 98926d8117edb0b9558af54289a4164a22644bec..ad3027853581dc0c181dd84edbffafd898e6ff92 100644
(file)
--- a/
lisp/mail/rmailmsc.el
+++ b/
lisp/mail/rmailmsc.el
@@
-30,6
+30,10
@@
You can specify one file name, or several names separated by commas.
If FILE-NAME is empty, remove any existing inbox list."
(interactive "sSet mailbox list to (comma-separated list of filenames): ")
+
+ (unless (eq major-mode 'rmail-mode)
+ (error "set-rmail-inbox-list works only for an Rmail file"))
+
(save-excursion
(let ((names (rmail-parse-file-inboxes))
(standard-output nil))